package com.example.sys.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sys.entity.User;
import com.example.sys.vo.UserSelectVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author anan
 * @since 2019-06-13
 */
public interface UserService extends IService<User> {
    User findUserByUserName(String userName);
    Boolean updateLoginDate(User user);
    List<User> getUserByDeptId(String deptId);
    List<User> getUserByDeptIds(String deptIds);
    IPage<User> selectPage(UserSelectVo userSelectVo);
}
